<template>
  <config-provider :locale="zhCN">
    <NuxtLayout>
      <NuxtPage />
    </NuxtLayout>
  </config-provider>
</template>

<script setup>
  import "@/theme/style.less";
  import { ConfigProvider } from "ant-design-vue";
  import zhCN from "ant-design-vue/es/locale/zh_CN";
  const systemStore = {
    appName: "可视化大屏",
    appLogo: "/favicon.ico",
  };
  useHead({
    title: systemStore.appName,
    link: [{ rel: "icon", href: systemStore.appLogo }],
    meta: [
      { charset: "utf-8" },
      { name: "viewport", content: "width=device-width, initial-scale=1" },
      {
        hid: "keywords",
        name: "keywords",
        content: systemStore.appName,
      },
      {
        hid: "description",
        name: "description",
        content: systemStore.appName,
      },
    ],
    htmlAttrs: {
      lang: "zh-CN",
    },
  });
</script>
